package com.example.hello.dto;

import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class EmployeeUpdateDTO {
    private String username;
    
    private Integer gender;
    
    @Pattern(regexp = "^1[3-9]\\d{9}$", message = "手机号格式不正确")
    private String phoneNumber;
    
    private Integer departmentId;
    
    private Integer positionId;
    
    private String avatar;
} 